package com.chebaohui.iqs.entity.res;

import java.util.List;

import com.chebaohui.iqs.entity.base.CarOrder;
import com.chebaohui.iqs.entity.base.Insurance;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CompanyCarPrice", description = "车险报价接口返回信息")
public class CompanyCarPrice {
	@ApiModelProperty(value = "保险公司编码")
	private String companyCode;// 选择保险公司报价的编码

	@ApiModelProperty(value = "车型编码")
	private String modelCode;// 车型编码

	@ApiModelProperty(value = "状态编码")
	private String code;

	@ApiModelProperty(value = "接口状态信息描述")
	private String msg;

	@ApiModelProperty(value = "订单信息")
	private CarOrder carOrder;

	@ApiModelProperty(value = "车险列表信息")
	private List<Insurance> insuranceList;

	public CompanyCarPrice() {

	}

	public CompanyCarPrice(String companyCode, String carModelCode, String code, String msg) {
		this.companyCode = companyCode;
		this.code = code;
		this.msg = msg;
		this.modelCode = carModelCode;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public CarOrder getCarOrder() {
		return carOrder;
	}

	public void setCarOrder(CarOrder carOrder) {
		this.carOrder = carOrder;
	}

	public List<Insurance> getInsuranceList() {
		return insuranceList;
	}

	public void setInsuranceList(List<Insurance> insuranceList) {
		this.insuranceList = insuranceList;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getModelCode() {
		return modelCode;
	}

	public void setModelCode(String modelCode) {
		this.modelCode = modelCode;
	}

	@Override
	public String toString() {
		return "CompanyCarPrice [companyCode=" + companyCode + ", modelCode=" + modelCode + ", code=" + code + ", msg="
				+ msg + ", carOrder=" + carOrder + ", insuranceList=" + insuranceList + "]";
	}

}
